<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<script>
			function person(){}
			person.prototype.name="郑子涵";
			person.prototype.age="20";
			person.prototype.obj="合肥动海星辰有限公司员工";
			person.prototype.dizhi="合肥";
			person.prototype.showName=function(){
				document.write("姓名："+this.name+"<br/>年龄："+this.age+"<br/>工作："+this.obj+"<br/>地址："+this.dizhi);
			}
			var person1=new person();
			person1.showName();
		</script>
	</body>
</html>
